//
//  SHVideoCaptureProtocol.swift
//  SHMediaTools
//
//  Created by ace on 2023/6/26.
//

import Foundation
import CoreMedia

public typealias outputBlock = (_ sampleBuffer: CMSampleBuffer) -> Void

protocol SHVideoCaptureProtocol {
    func startCapture()
    
    func startCapture(_ outputBlock:outputBlock!)
    
    func stopCapture()
}
